Many vision problems have to deal with di?erent entities (regions, lines, line junctions, etc.) and their relationships. ...